Fix document generation in out of tree builds
authorSjoerd Simons <sjoerd@luon.net>
Fri, 21 Oct 2011 13:55:50 +0000 (15:55 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 21 Oct 2011 20:27:13 +0000 (16:27 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=661032

docs/reference/gdk/Makefile.am
docs/reference/gtk/Makefile.am
docs/reference/libgail-util/Makefile.am

index aab34e34028ff370723660e0b0c89c543b7508c9..e73c955421bfeca07d2b9e1df458f51814531afb 100644 (file)
@@ -12,7 +12,7 @@ DOC_MAIN_SGML_FILE=gdk-docs.sgml
 SCAN_OPTIONS=--deprecated-guards="GDK_ENABLE_BROKEN|GDK_DISABLE_DEPRECATED"
 
 # The directory containing the source code. Relative to $(srcdir)
-DOC_SOURCE_DIR=../../../gdk ../../../gdk/x11
+DOC_SOURCE_DIR=$(top_srcdir)/gdk $(top_srcdir)/gdk/x11
 
 # Used for dependencies
 HFILE_GLOB=$(top_srcdir)/gdk/*.h $(top_srcdir)/gdk/x11/gdkx.h
index 153ecfc74a09f836ddd0f6d892b73680806fc4af..4e64367666453592503b529ef07bb9d7b2722058 100644 (file)
@@ -12,7 +12,7 @@ DOC_MAIN_SGML_FILE=gtk-docs.sgml
 SCAN_OPTIONS=--deprecated-guards="GTK_ENABLE_BROKEN|GTK_DISABLE_DEPRECATED"
 
 # The directory containing the source code. Relative to $(srcdir)
-DOC_SOURCE_DIR=../../../gtk
+DOC_SOURCE_DIR=$(top_srcdir)/gtk
 
 # Used for dependencies
 HFILE_GLOB=$(top_srcdir)/gtk/*.h
index 3b52a0f2341be78577125a50dd321f8a0bfab773..79bb551e145e8a40578347984d2f735e149fbb22 100644 (file)
@@ -9,7 +9,7 @@ DOC_MODULE=gail-libgail-util3
 DOC_MAIN_SGML_FILE=gail-libgail-util-docs.sgml
 
 # The directory containing the source code (if it contains documentation).
-DOC_SOURCE_DIR=../../../libgail-util
+DOC_SOURCE_DIR=$(top_srcdir)/libgail-util
 
 # Used for dependencies
 HFILE_GLOB = $(top_srcdir)/libgail-util/*.h